import { defineStore } from "pinia";

export const useRouteState = defineStore("routerList", {
  state: () => {
    return {
      routerList: [],
    };
  },
  actions: {
    setRouterList(routerList) {
      this.routerList = routerList;
    },
  },
});
